<!DOCTYPE html>
<!-- saved from url=(0042)https://v3.bootcss.com/examples/dashboard/ -->
<html lang="zh-CN">
<head>

    <title>YCD工作台</title>
    <!-- Bootstrap core CSS -->
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!--页面使用的自定义CSS-->
    <link href="/static/bootstrap/css/dashboard.css" rel="stylesheet">
    {% block page-css %}{% endblock %}
</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/index.html" style="font-size: 30px">安全加固</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                {#                <li><a href="#">Dashboard</a></li>#}
                {#                <li><a href="#">Settings</a></li>#}
                {#                <li><a href="#">Profile</a></li>#}

                {% include "login/user_header.html" %}
            </ul>
            {#            <form class="navbar-form navbar-right">#}
            {#                <input type="text" class="form-control" placeholder="Search...">#}
            {#            </form>#}
        </div>
    </div>
</nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
                <li class="{% block title1 %} {% endblock %}"><a href="/index.html" style="font-size: 20px">数据统计 <span
                        class="sr-only">(current)</span></a>
                </li>
            </ul>
        {% if request.session.username %}
            <ul class="nav nav-sidebar">
                <li class="{% block title2 %}{% endblock %}"><a href="#" style="font-size: 20px">信息查询</a></li>

                    <li class="{% block title3 %}{% endblock %}"><a href="/userinfo.html">主机用户密码</a></li>


                <li class="{% block title4 %}{% endblock %}"><a href="/baseline.html">基线加固</a></li>
                <li class="{% block title5 %}{% endblock %}"><a href="/myworksoftware.html">软件加固</a></li>
                <li class="{% block title6 %}{% endblock %}"><a href="/softwareinfo.html">软件版本</a></li>
                <li class="{% block title7 %}{% endblock %}"><a href="/hostinfo.html">主机信息</a></li>

            </ul>
                <ul class="nav nav-sidebar">
                    <li><a href="#" style="font-size: 20px">数据添加</a></li>
                    <li class="{% block title10 %}{% endblock %}"><a href="/add_userinfo.html">主机用户密码</a></li>
                    <li class="{% block title11 %}{% endblock %}"><a href="/add_host.html">主机信息</a></li>
                    <li class="{% block title12 %}{% endblock %}"><a href="/addmyworksoftware/">软件加固工作</a></li>
                    <li class="{% block title13 %}{% endblock %}"><a href="/add_myworkbaseline/">基线加固工作</a></li>
                </ul>
            {% endif %}
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">


            {% block page-body %}{% endblock %}


        </div>
    </div>

    <script src="/static/jquery-3.3.1.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
    {% block page-script %}{% endblock %}

</body>
</html>
